package com.wzh.project.webservice.service.esb;

import javax.annotation.Resource;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.ws.WebServiceContext;

@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class AcessWebserviceImpl implements AcessWebservice {
	
	@Resource
	private WebServiceContext wsContext;

	@Override
	public String accessExpand(@WebParam(name = "token")String token,@WebParam(name = "serviceName")String api_name, @WebParam(name = "tranSeq")String tran_seq,
			@WebParam(name = "bizJson")String bizJson, @WebParam(name = "expandJson")String expandJson){
		return "SUCC";
	}

	

	@Override
	public String access(@WebParam(name = "token")String token, @WebParam(name = "serviceName")String api_name, @WebParam(name = "tranSeq")String tran_seq, @WebParam(name = "bizJson")String bizJson)
		{
		String re = accessExpand(token,api_name, tran_seq, bizJson, null);
		return re;
	}

}
